//  AppDelegate.h
//  AnimatTabbarSample
//
//  Created by chenyanming on 14-4-9.
//  Copyright (c) 2014年 chenyanming. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol lvfjAnimateTabbarDelegate<NSObject>

@required
/**按钮1*/
-(void)firstBtnClick:(UIButton *)bt;
/**按钮2*/
-(void)secondBtnClick:(UIButton *)bt;
/**按钮3*/
-(void)thirdBtnClick:(UIButton *)bt;
/**按钮4*/
-(void)fourthBtnClick:(UIButton *)bt;
/**按钮5*/
-(void)fifthBtnClick:(UIButton *)bt;

@end
@interface lvfjAnimateTabbar : UIView

@property(nonatomic,strong)id <lvfjAnimateTabbarDelegate> delegate;

/**按钮1*/
@property(nonatomic,strong) UIButton *firstBtn;
/**按钮2*/
@property(nonatomic,strong) UIButton *secondBtn;
/**按钮3*/
@property(nonatomic,strong) UIButton *thirdBtn;
/**按钮4*/
@property(nonatomic,strong) UIButton *fourthBtn;
/**按钮5*/
@property(nonatomic,strong) UIButton *fifthBtn;

//@property(nonatomic,strong) UIButton *backBtn;
//@property(nonatomic,strong) UIButton *shadeBtn;

/**
 *
 *imgArray 图片数组，1~5:image、highlightedImage
 */
- (instancetype)initWithFrame:(CGRect)frame
                     imgArray:(NSArray *)imgArray;

/**按钮点击事件*/
-(void)buttonClickAction:(id)sender;

/**调到相应的页数*/
-(void)jumpIndex:(NSInteger)index;

@end
